package mock.servicesdirectory.contacts.business.businessinterface;

import java.util.List;

import mock.servicesdirectory.common.entities.Contact;
import mock.servicesdirectory.contacts.web.model.ContactModel;

public interface ContactBo {
	public List<ContactModel> getContacts(String firstName, String surName,
			boolean isActive);	
	
	public List<ContactModel> findContact(List<ContactModel> contactModels, int from, int to);
	public int countContact();
	public void setContactModels(List<ContactModel> contactModels);
	public List<ContactModel> getContactModels();	

	public void initContacts();

	public List<ContactModel> getContactWithFilterFirstName(
			List<ContactModel> contacts, String firstName);
	public List<ContactModel> getContactWithFilterSurName(List<ContactModel> contacts,
			String surName);

	public List<ContactModel> getContactWithFilter(String firstName, String surName,
			boolean isActive);

	public boolean saveOrupdateContact(Contact contact);

	public Contact getContact(int contactID);	
	
	
}